Does LVM have any multipath failover capabilities?
For example, two iSCSI drives are actually the same drive provided via two different subnets: if one of the drives becomes unresponsive, I need LVM to seamlessly failover to the other one.
Otherwise, what's the right way to handle this?
Thanks,
Chris
Quoted 5 lines · Chris Worley
For example, two iSCSI drives are actually the same drive provided via two different subnets: if one of the drives becomes unresponsive, I need LVM to seamlessly failover to the other one.
Otherwise, what's the right way to handle this?
Build lvm on top of a multipathed device (which comprises of the two paths), with a priority callout that gives higher priority to one path than the other.
Quoted 10 lines
Thanks,
Chris
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Or you could simply use dm-multipath in round-robin fashion without having to manage priorities etc...
This would bring you :
- More performance if the device at the other side can take the load
- Native failover, if on path dies you'll still have the second path
active.
On LVM point of view, you just have to pvcreate the mutilpath device (/dev/mapper/mpathX if friendly_user_name true or /dev/mapper/<your disk UUID>)
Brem
2009/9/2, Chandra Seetharaman <[email protected]>:
Quoted 29 lines · Chris Worley
Quoted 5 lines
For example, two iSCSI drives are actually the same drive provided via two different subnets: if one of the drives becomes unresponsive, I need LVM to seamlessly failover to the other one.
Otherwise, what's the right way to handle this?
Build lvm on top of a multipathed device (which comprises of the two paths), with a priority callout that gives higher priority to one path than the other.
Quoted 10 lines
Thanks,
Chris
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/